import java.util.Scanner;

public class text1 {
    public static void main(String[] args)
    {

            Cat cat1;
       cat1=new Cat();
      cat1.name="小白";
      cat1.age=3;
      cat1.color="白色";
        Cat cat2=new Cat();
        cat2.name="小花";
        cat2.age=2;
        cat2.color="黑色";
        System.out.println(cat1.name+cat1.color+cat1.age);
        System.out.println(cat2.name+cat2.color+cat2.age);

        cat2.speak();
        jisuan();
        
    }
    public static void jisuan(){
        Scanner scanner=new Scanner(System.in);
        int n=scanner.nextInt();
        int m=0;
        for (int i = 1; i <= n; i++) {
            m+=i;
        }
scanner.close();
        System.out.println(m);
    }
}
class Cat{
    String name;
    int age;
    String color;
    public  void speak(){
        System.out.println("我是帅哥");

    }

}
